package com.googlecode.grima.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
 
@Entity
@Table(name="PORTAL_PARTNER")
public class Partner extends com.googlecode.grima.base.Entity {
 
  	private static final long serialVersionUID = 6195947226308024070L;

    private PartnerCategory category;
    private String name;
    private String address;
    private String city;
    private String state;
    private String phone1;
    private String phone2;
    
    public Partner(){
    }
    
    public Partner(String name){
    	this.name = name;
    }
 
    @Column(name="NAME")
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    @Column(name="ADDRESS")
		public String getAddress() {
    	return address;
    }

		public void setAddress(String address) {
    	this.address = address;
    }

		@Column(name="CITY")
		public String getCity() {
    	return city;
    }

		public void setCity(String city) {
    	this.city = city;
    }

		@Column(name="STATE")
		public String getState() {
    	return state;
    }

		public void setState(String state) {
    	this.state = state;
    }

		@Column(name="PHONE1")
		public String getPhone1() {
    	return phone1;
    }

		public void setPhone1(String phone1) {
    	this.phone1 = phone1;
    }

		@Column(name="PHONE2")
		public String getPhone2() {
    	return phone2;
    }

		public void setPhone2(String phone2) {
    	this.phone2 = phone2;
    }

		@Column(name="CATEGORY")
		public PartnerCategory getCategory() {
    	return category;
    }

		public void setCategory(PartnerCategory category) {
    	this.category = category;
    }

}